import { defHttp } from '/@/utils/http/axios';
import {getMenuListResultModel} from "/@/api/sys/model/menuModel";

enum Api {
    GetMenuList = '/sys/menu/auth/tree',
}

/**
 * @description: Get user menu based on id
 */

export const getMenuList = () => {
    return defHttp.get<getMenuListResultModel>({ url: Api.GetMenuList });
};
